package com.bee.bootstrap.resource.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.bee.bootstrap.resource.entity.Resource;
import com.baomidou.mybatisplus.service.IService;
import com.bee.common.core.result.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liekkas
 * @since 2018-05-25
 */
public interface IResourceService extends IService<Resource> {

    Result findPageView(Page<Resource> page, Resource resource);

    /**
     * <pre>获取资源树形数据</pre>
     * @return
     */
    Result selectTreeView();

    Result updateResource(Resource resource);

    Result insertResource(Resource resource);

    Result findResourcesInterface();
}
